/*
 * capture_soc_imx6.h
 *
 *  Created on: 2024-4-15
 *      Author: NI
 */

#ifndef CAPTURE_SOC_IMX6_H_
#define CAPTURE_SOC_IMX6_H_

#include <stdint.h>
#include "capture.h"
#include "capture-imx6x-ext.h"

enum{
	PLATFROM_IMX6D,	//支持四vc 4lanes
	PLATFROM_IMX6S,	//支持二vc 2lanes
	PLATFROM_MAX
};

typedef struct {
	//capture
	capture_context_t context;
	int platfrom;
	//camera
	int vchannel;
	int format;
	int interface_type;
	int deinterlace_mode;
	int deinterlace_flag;
	//windows
	int fram_nbuffers;
	void ** fram_buffers;

}capture_dev_t;

#endif /* CAPTURE_SOC_IMX6_H_ */
